package com.mc.read.dao.mapper.sys;

import com.mc.read.dao.models.sys.Sysuserrole;
import com.mc.read.dao.models.sys.SysuserroleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysuserroleMapper {
    int countByExample(SysuserroleExample example);

    int deleteByExample(SysuserroleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Sysuserrole record);

    int insertSelective(Sysuserrole record);

    List<Sysuserrole> selectByExample(SysuserroleExample example);

    Sysuserrole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Sysuserrole record, @Param("example") SysuserroleExample example);

    int updateByExample(@Param("record") Sysuserrole record, @Param("example") SysuserroleExample example);

    int updateByPrimaryKeySelective(Sysuserrole record);

    int updateByPrimaryKey(Sysuserrole record);
}